[comp=shoppingcar] {
  
  .main{
    position: fixed;
    width: 32%;
    height: calc(100vh - 60px - 60px);
    right: 0px;
    top: 60px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #dbdbdb;
    transition: all .4s ;
    transform: translateX(100%);
    &.show{
    transform: translateX(0%);
    }

  }
 

  .desc-box {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background-color: #e5e5e5;
    font-size: 14px;
   

    span:nth-child(1) {
      color: #e93939;
    }

    span:nth-child(2) {
      color: #888;
    }
  }

  .select-list-box {
    flex-grow: 1;
    overflow-y: auto;
    background-color: #fafafa;
   

    li {
      display: flex;
      padding: 12px;
      color: #333;

      .left {
        flex-grow: 1;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        margin-right: 20px;

      }

      .right {
        display: flex;
        color: #666;
        .amount {
          margin-right: 20px;
          font-weight: bold;

        }

        .number-box {
          display: flex;
          align-items: center;

          span {
            font-size: 14px;
            margin: 0 8px;
            color: #666;
          }

          img {
            width: 20px;
            height: 20px;
          }
          .add{
            width: 16px;
            height: 16px;
          }
        }
      }
    }
  }

  .total-up-box {
    position: fixed;
    width: calc(32% - 20px + 1px);
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background-color: #e93939;
    height: 40px;
    padding: 10px;

    img {
      width: 35px;
    }

    span {
      font-size: 23px;
      margin-left: 6px;

      &::before {
        content: '￥';
        font-size: 0.55em;
      }
    }
  }
}